﻿/****************************************************************
*   作者：Schme
*   CLR版本：4.0.30319.42000
*   创建时间：2017/4/19 16:13:57
*   2017
*   描述说明：
*
*   修改历史：
*
*
*****************************************************************/
using Abp.AutoMapper;
using Mt.Site.Core.Members;
using System.ComponentModel.DataAnnotations;

namespace Mt.Site.Application.Members.Dto.FrontEnd
{
    [AutoMapTo(typeof(MemberInfo))]
    public class UpdateMemberInfoFrontEndDto
    {
        /// <summary>
        /// 名
        /// </summary>
        [StringLength(MemberInfo.MaxNameLength)]
        public virtual string FirstName { get; set; }

        /// <summary>
        /// 姓
        /// </summary>
        [StringLength(MemberInfo.MaxNameLength)]
        public virtual string LastName { get; set; }

        /// <summary>
        /// 手机
        /// </summary>
        [StringLength(MemberInfo.MaxPhoneLength)]
        public virtual string Phone { get; set; }

        /// <summary>
        /// 公司
        /// </summary>
        [StringLength(MemberInfo.MaxCompanyLength)]
        public virtual string Company { get; set; }

        /// <summary>
        /// 邮编
        /// </summary>
        [StringLength(MemberInfo.MaxZipCodeLength)]
        public virtual string ZipCode { get; set; }


        /// <summary>
        /// 职位
        /// </summary>
        [StringLength(MemberInfo.MaxJobTitleLength)]
        public virtual string JobTitle { get; set; }


        /// <summary>
        /// 国家
        /// </summary>
        [StringLength(MemberInfo.MaxCountryLength)]
        public virtual string Country { get; set; }

        /// <summary>
        /// 省份
        /// </summary>
        [StringLength(MemberInfo.MaxAreaLength)]
        public virtual string Province { get; set; }

        /// <summary>
        /// 市
        /// </summary>
        [StringLength(MemberInfo.MaxAreaLength)]
        public virtual string City { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        [StringLength(MemberInfo.MaxAddressLength)]
        public virtual string Address { get; set; }

        /// <summary>
        /// 地址1
        /// </summary>
        [StringLength(MemberInfo.MaxAddressLength)]
        public virtual string Address1 { get; set; }

        /// <summary>
        /// 网页
        /// </summary>
        [StringLength(100)]
        public virtual string WebPage { get; set; }

        /// <summary>
        /// 传真
        /// </summary>
        [StringLength(MemberInfo.MaxFaxLength)]
        public virtual string Fax { get; set; }        
    }
}
